package com.qfedu.hotelssm.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author dzl
 * @date 2022/8/30 10:54
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ColumnWidth(20)
public class CtMenuDto {
    @ExcelProperty(value = "编号")
    private Integer id;
    //菜名
    @ExcelProperty(value = "菜名")
    private String name;
    //种类
    @ExcelProperty(value = "种类")
    private String kind;
    //简介
    @ColumnWidth(20)
    @ExcelProperty(value = "简介")
    private String info;
    //价格
    @ExcelProperty(value = "价格")
    private Double price;
    //图片地址
    @ColumnWidth(20)
    @ExcelProperty(value = "图片地址")
    private String imgurl;
}
